package com.ming.service;

import com.ming.mapper.XsddMapper;
import com.ming.pojo.Xsdd;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public class XsddService implements XsddMapper{


    @Autowired(required = false)
    private XsddMapper xsddMapper;

    @Override
    public List<Xsdd> searchByYwy(Integer ywyId) {
        return xsddMapper.searchByYwy(ywyId);
    }

    @Override
    public List<Xsdd> searchAll() {
        return xsddMapper.searchAll();
    }

    @Override
    public List<Xsdd> searchByName(String ywyName, String customName) {
        return xsddMapper.searchByName(ywyName,customName);
    }
}
